using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Transaction;

namespace Thaire.Investment.Repository.Mapping
{

    class UnitTrustNavMap : ClassMap<UnitTrustNav>
    {

        public UnitTrustNavMap()
        {
            Table("UNIT_TRUST_NAV");
            Id(x => x.ID, "UNIT_TRUST_NAV_ID").GeneratedBy.Identity();

            Map(x => x.UnitTrustHeaderID, "UNIT_TRUST_HEADER_ID");
            Map(x => x.Nav, "UNIT_TRUST_NAV");
            Map(x => x.Date, "UNIT_TRUST_NAV_DATE");

        }


    }

}